#include <iostream>
#include <string>

//this:c++编译器提供给类的指向本对象的指针
//this->取当前对象的属性和行为
//*this:当前对象

class Test
{
    public:
        Test()
        {
            std::cout<<"构造函数！\n";
        }
        Test(const Test& t)
        {
            std::cout<<"深拷贝构造函数!\n";
        }
        void operator=(const Test& t)
        {
            std::cout<<"赋值运算符重载深拷贝!\n";
        }
        ~Test()
        {
            std::cout<<"析构函数!\n";
        }
};

int main()
{
    Test *t = new Test[3];
    delete []t;



    return 0:
}